package net.csdn.business.kanban.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.csdn.business.kanban.api.entity.KanbanFieldExtension;

import java.util.*;
/**
 * @ClassName KanbanService
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/13
 **/
public interface KanbanFieldExtensionService extends IService<KanbanFieldExtension> {
    /**
     * 删除看板view内的字段扩展信息
     * @param kanbanId
     * @return
     */
    boolean removeKanbanFiledExtensions(String kanbanId);

    /**
     * 根据看板获取字段扩展属性
     * @param kanbanId
     * @return
     */
    List<KanbanFieldExtension> fieldExtensionsByKanbanId(String kanbanId);

    /**
     * 根据字段移除所有的扩展属性
     * @param FieldId
     * @return
     */
    boolean removeByFieldId(Long FieldId);

    /**
     * 根据字段获取字段扩展属性
     * @param fieadId
     * @return
     */
    List<KanbanFieldExtension> fieldExtensionsByFieadId(String kanbanId,Long fieadId);
}

